package com.adobe.utils;

extern class DateUtil {
	static function compareDates(d1 : Date, d2 : Date) : Int;
	static function getAMPM(d : Date) : String;
	static function getFullDayIndex(d : String) : Int;
	static function getFullDayName(d : Date) : String;
	static function getFullMonthIndex(m : String) : Int;
	static function getFullMonthName(d : Date) : String;
	static function getShortDayIndex(d : String) : Int;
	static function getShortDayName(d : Date) : String;
	static function getShortHour(d : Date) : Int;
	static function getShortMonthIndex(m : String) : Int;
	static function getShortMonthName(d : Date) : String;
	static function getShortYear(d : Date) : String;
	static function getUTCDate(d : Date) : Date;
	static function makeMorning(d : Date) : Date;
	static function makeNight(d : Date) : Date;
	static function parseRFC822(str : String) : Date;
	static function parseW3CDTF(str : String) : Date;
	static function toRFC822(d : Date) : String;
	static function toW3CDTF(d : Date, ?includeMilliseconds : Bool) : String;
}
